<style>
    a{
        cursor: pointer;
    }
    table tr > th, table tr > td {
        text-align: center;
        vertical-align: middle !important;
    }
</style>
<table class="table table-hover" >
    <tbody>
    <tr class="info">
        <th>活动名称</th>
        <th>活动类别</th>
        <th>参与组织</th>
        <th>得分</th>
    </tr>
    {% if data is defined %}
        {% for i,item in data %}
            <tr>
                <td>{{ item['sTitle'] }}</td>
                <td>{{ item['sType'] }}</td>
                <td>{{ item['sTargetIds'] }}</td>
                <td>{{ item['grade'] }}</td>
            </tr>
        {% endfor %}
    {% endif %}
    </tbody>
</table>